package com.hil.eventbus

import com.example.eventbus.DEFAULT_TAG
import com.hil.eventbus.ThreadMode

@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_SETTER,AnnotationTarget.PROPERTY_GETTER )
annotation  class Subscriber (val tag:String = DEFAULT_TAG,   val mode : ThreadMode = ThreadMode.POST  )